package com.lottery.im.api.result;

import java.io.Serializable;

/**
 * Created by lianwufeng on 2017/10/15.
 */

public class ApiResult<T> implements Serializable {

  private static final long serialVersionUID = 5627648743056473227L;

  private String returnCode;
  private String returnMessage;
  private T returnMap;
  private T data;
  private int totalCount;

  public String getReturnCode() {
    return returnCode;
  }

  public void setReturnCode(String returnCode) {
    this.returnCode = returnCode;
  }

  public String getReturnMessage() {
    return returnMessage;
  }

  public void setReturnMessage(String returnMessage) {
    this.returnMessage = returnMessage;
  }

  public T getReturnMap() {
    return returnMap;
  }

  public void setReturnMap(T returnMap) {
    this.returnMap = returnMap;
  }

  public T getData() {
    return data;
  }

  public void setData(T data) {
    this.data = data;
  }

  public int getTotalCount() {
    return totalCount;
  }

  public void setTotalCount(int totalCount) {
    this.totalCount = totalCount;
  }
}

